#!/bin/sh
#
# A (heavily) modified version of the agavi-dist script shipped with
# the Agavi package.
#

# Set this to the path to the Agavi installation's source directory. This is
# the directory that contains the `agavi.php' file.
AGAVI_SOURCE_DIRECTORY="/usr/share/php/agavi"

php -d memory_limit=2G \
    -f "${AGAVI_SOURCE_DIRECTORY}/build/agavi/script/agavi.php" \
    -- \
    --agavi-source-directory "${AGAVI_SOURCE_DIRECTORY}" "$@"
